package com.project.ServiceImp;


import com.Entity.DzmHisCareRefundlogEntity;
import com.alibaba.dubbo.config.annotation.Service;
import com.project.mapper.ZsszMapper;
import org.springframework.stereotype.Component;
import wt.ZsszService;

import javax.annotation.Resource;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@Service
@Component
public class ZsszServiceImpl implements ZsszService {
    @Resource
    private ZsszMapper mapper;

    @Override
    public List<Map<String, Object>> Findzssz(Integer type_id,String status,String addtime,String adddate) {
        Map<String, Object> map = new HashMap<>();
        map.put("type_id",type_id);
        map.put("status",status);
        map.put("addtime",addtime);
        map.put("adddate",adddate);
        return mapper.Findzssz(map);

    }

    @Override
    public List<DzmHisCareRefundlogEntity> getRefund() {
        List<DzmHisCareRefundlogEntity> a= mapper.getRefund();
        System.out.println(a+"哈哈哈");
        return a;
    }
}
